package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.HttpResult
import com.changpay.zywy.bean.QrInfoBean
import io.reactivex.Observable

interface QrContract {


    interface View : IView {
        fun showQrInfo(date: QrInfoBean)
    }

    interface Presenter : IPresenter<View> {
        fun getQrInfo(token: String)

    }

    interface Model : IModel {
        fun getQrInfo(token: String): Observable<HttpResult<QrInfoBean>>
    }
}